import {BaseRequest} from './axiosDefault'
class Lbxins extends BaseRequest {
  // constructor() {
  //   super()
  //   // this.baseUrl = BASE_URL
  // }
  login(params:Object|String){
    return this.post('/default/login', params)
  }
  // 查询
  // getProgects() {
  //   return this.get('/projects')
  // }
  getData(url:string,headers?:object){
    return this.get(url,headers)
  }
  postData(url:string,params:string|object,headers?:object){
    return this.post(url,params,headers)
  }
  // DelListData(url,params){
  //   return this.delete(url,params)
  // }
}

export default new Lbxins